/**
 * Created by jimmy on 2017/6/7.
 */
var mysql = require("mysql");
var mysqlcon = require('../config/config')['mysql'];

var pool = mysql.createPool(mysqlcon);

exports.getConn = function (cb) {
    pool.getConnection(cb);
};